using UnityEngine;
using System.Collections.Generic;

public class Program : ShipProgram {
	/// <summary>
	/// Use this method to setup star up of your ship
	/// </summary>	
	public override void Start() {
		TextTerminal.Clear();
		TextTerminal.AddMessage("Welcome aboard, captain. All systems are online");
		Common.SetFields(this);
		Common.Init();
	}

	/// <summary>
	/// This method is called every server tick. deltaTime - time between ticks
	/// </summary>
	/// <param name="deltaTime"></param>
	public void Update(float deltaTime) {

	}

	/// <summary>
	/// Use this method to process user input from console
	/// </summary>
	public override void ConsoleInput(string input) {
		Common.ParseInput(input);
	}

	/// <summary>
	/// Use it to save all your data to filesystem.
	/// Called when ship is destroyed, or when server is shutting down.
	/// </summary>
	public override void OnProgramShutdown() {

	}
}
